Repository navigation
[TT-18787] Enable the mock MCP server's admin API in the CI stack - #116
Closed
andrei-tyk wants to merge 1 commit into
Closed
andrei-tyk wants to merge 1 commit into
andrei-tyk wants to merge 1 commit into
Conversation
The remote MCP tool override API tests in tyk-analytics change the mock upstream's tool list through its admin API, which the mock only serves when MCP_ADMIN_ENABLED is true. Both compose files now set it for the mcp-server service; nothing else about the mock changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Closing in favour of TykTechnologies/tyk-mock-mcp-server#14, which makes the mock serve its admin API by default. The tyk-pro CI stack then needs no change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Sets
MCP_ADMIN_ENABLED=trueon themcp-serverservice indeps_pro.ymlanddeps_pro-ha.yml. This serves the mock's test-only admin API (/admin/tools,/admin/fixtures/github,/admin/calls). It was added in TykTechnologies/tyk-mock-mcp-server#13, which has been merged.The new remote MCP tool override API tests in TykTechnologies/tyk-analytics#6491 use that API to add and remove upstream tools, which is how they test drift and collisions. Without it, all 24 of those tests fail at setup with
GET /admin/tools returned 404. The rest of the api-tests suite passes: about 2,080 tests per job.Nothing else about the mock changes: same image, same port, same OAuth fixture settings.
Related
tyk-mock-mcp-server:mainimage must include it, so merge this after that image build finishes.Test
The same setting is used by the Dashboard's local MCP stack runner (
tests/api/scripts/run_mcp_v2_stack.py). There, the 24 tests pass against a mock with the admin API, and a mock without it fails all 24 at setup.🤖 Generated with Claude Code